package com.rocpenghua.excel.water;

import java.awt.*;
import java.util.Arrays;
import java.util.List;

/**
 * @author pengp
 * @date 2022年07月18日 14:17
 */
public class ImageParam {
    private int imgWidth;
    private int imgHeight;
    private float alphaExcel;
    private int colorR;
    private int colorG;
    private int colorB;
    private String fontName;
    private int fontStyle;
    private int size;
    private List<Integer> lefts;
    private List<Integer> heights;
    private int rotate;
    public ImageParam(){
        this.imgWidth = 300;
        this.imgHeight = 200;
        this.alphaExcel = 0.75f;
        this.colorR = 211;
        this.colorG = 211;
        this.colorB = 211;
        this.fontName = "宋体";
        this.fontStyle = Font.BOLD;
        this.size = 18;
        this.lefts = Arrays.asList(45,45,45,45);
        this.heights = Arrays.asList(185,180,175,170);
        this.rotate = -20;
    }

    public int getImgWidth() {
        return imgWidth;
    }

    public void setImgWidth(int imgWidth) {
        this.imgWidth = imgWidth;
    }

    public int getImgHeight() {
        return imgHeight;
    }

    public void setImgHeight(int imgHeight) {
        this.imgHeight = imgHeight;
    }

    public float getAlphaExcel() {
        return alphaExcel;
    }

    public void setAlphaExcel(float alphaExcel) {
        this.alphaExcel = alphaExcel;
    }

    public int getColorR() {
        return colorR;
    }

    public void setColorR(int colorR) {
        this.colorR = colorR;
    }

    public int getColorG() {
        return colorG;
    }

    public void setColorG(int colorG) {
        this.colorG = colorG;
    }

    public int getColorB() {
        return colorB;
    }

    public void setColorB(int colorB) {
        this.colorB = colorB;
    }

    public String getFontName() {
        return fontName;
    }

    public void setFontName(String fontName) {
        this.fontName = fontName;
    }

    public int getFontStyle() {
        return fontStyle;
    }

    public void setFontStyle(int fontStyle) {
        this.fontStyle = fontStyle;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<Integer> getLefts() {
        return lefts;
    }

    public void setLefts(List<Integer> lefts) {
        this.lefts = lefts;
    }

    public List<Integer> getHeights() {
        return heights;
    }

    public void setHeights(List<Integer> heights) {
        this.heights = heights;
    }

    public int getRotate() {
        return rotate;
    }

    public void setRotate(int rotate) {
        this.rotate = rotate;
    }
}

